package com.gdglc.spring.biz.auth;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.y2.authprj.bean.auth.model.RoleauthorityInfo;
import com.y2.authprj.exception.BizException;

public interface RoleauthorityBiz {
	public void add(RoleauthorityInfo roleauthority)throws BizException;

	/**
	 * 逻辑删除
	 * @param id
	 * @return
	 */
	public int deleteRole(int roleauthorityId);
	
	/**
	 * 条件分页
	 * @param staffInfo
	 * @return
	 */
	List<RoleauthorityInfo> queryByChose(RoleauthorityInfo roleauthority);
	
	PageInfo<RoleauthorityInfo> queryByPage(RoleauthorityInfo roleauthority,Integer pageNo,Integer pageSize) ;

}
